package com.example.myapplication.module;

import javax.inject.Named;

import dagger.Module;
import dagger.Provides;

@Module
public class EngineModule {
   @Provides
   @Named("AModule")
   public Engine A(){
       return new AModule();
   }
   @Provides
   @Named("BModule")
   public Engine B(){
       return new BModule();
   }
}
